package com.chainshop.procurement.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.chainshop.common.annotation.Excel;
import com.chainshop.common.core.domain.BaseEntity;

/**
 * 待采购商品列对象 dai_purchase_item
 *
 * @author ruoyi
 * @date 2024-08-15
 */
public class DaiPurchaseItem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 变种商品ID */
    @Excel(name = "变种商品ID")
    private String productVariantId;

    /** 当前数量 */
    @Excel(name = "当前数量")
    private Long currentQuantity;

    /** 需采购数量 */
    @Excel(name = "需采购数量")
    private Long requiredQuantity;

    /** 单位 */
    @Excel(name = "单位")
    private Integer unit;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setProductVariantId(String productVariantId)
    {
        this.productVariantId = productVariantId;
    }

    public String getProductVariantId()
    {
        return productVariantId;
    }
    public void setCurrentQuantity(Long currentQuantity)
    {
        this.currentQuantity = currentQuantity;
    }

    public Long getCurrentQuantity()
    {
        return currentQuantity;
    }
    public void setRequiredQuantity(Long requiredQuantity)
    {
        this.requiredQuantity = requiredQuantity;
    }

    public Long getRequiredQuantity()
    {
        return requiredQuantity;
    }

    public Integer getUnit() {
        return unit;
    }

    public void setUnit(Integer unit) {
        this.unit = unit;
    }

    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return "DaiPurchaseItem{" +
                "id=" + id +
                ", productVariantId='" + productVariantId + '\'' +
                ", currentQuantity=" + currentQuantity +
                ", requiredQuantity=" + requiredQuantity +
                ", unit=" + unit +
                ", status='" + status + '\'' +
                '}';
    }
}